package com.tanhua.sso.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tanhua.sso.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

//和@MapperScan开启扫描是一样的

/**
 * 登录验证账号和密码
 */
@Mapper
//new对象,但是interface不能new对象
@Repository
public interface UserMapper extends BaseMapper<User> {
}
